/**
 * Created by shc on 2017/6/25.
 */
var React = require('react');


module.exports = React.createClass({
    getInitialState: function () {
        return {
            phone:this.props.params.id,
            theme:"Red",
            shopbarcode:""
        }
    },
    componentDidMount: function () {
        if(this.props.params.id){
            this.setState({shopbarcode:this.props.params.id});
            localStorage.setItem("KLG_SHOP_BAR_CODE",this.props.params.id);
            //alert(this.props.params.id);
        }
    },
    render: function () {
        var p = this;
        return (
            <div className="main  White_bgc">
                <a href="http://klg.5dcc.cn/upload/klg.apk"></a>
            </div>
        )
    }
});
